.main__container {
  box-sizing: border-box;
  width: 922px;
  margin-left: 25px;
}

.container {
  box-sizing: border-box;
  background-color: var(--color-white);
  border-radius: 3px;
}

.title {
  margin-top: 0;
  margin-bottom: 20px;

  font-family: var(--font-family-PT-Sans);
  font-size: var(--font-size-big);
  font-weight: var(--font-weight-bold);
  line-height: 43px;
  letter-spacing: 1px;
  color: var(--color-outer-space);

  text-transform: uppercase;
}

.form {
  margin: 20px auto 0 30px;
  padding: 40px 0 20px;
}

.h3__title {
  margin: 0;

  font-size: 24px;
  font-weight: var(--font-weight-bold);
  line-height: 36px;
}

.delimetr__general {
  display: block;
  width: 922px;
  height: 1px;

  margin: 20px 0 25px -30px;

  background-color: var(--color-athens-gray);
}

.delimetr__contacts {
  display: block;
  width: 922px;
  height: 1px;

  margin: 30px 0 25px -30px;

  background-color: var(--color-athens-gray);
}

.delimetr__checkbox {
  display: block;
  width: 922px;
  height: 1px;

  margin: 36px 0 25px -30px;

  background-color: var(--color-athens-gray);
}

.inputs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin-top: 10px;
}

.inputs__box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 13px;
  margin-top: 10px;
}

.delimetr_button {
  display: block;
  width: 922px;
  height: 1px;

  margin: 20px 0 20px -30px;

  background-color: var(--color-athens-gray);
}

.button__save {
  width: 86px;
  height: 36px;
  margin-right: 9px;

  font-family: var(--font-family-PT-Sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  color: #fff;

  background-color: #4c8bf7;
  border-radius: 3px;
  border: 1px solid #4077d6;
  cursor: pointer;
}

.button__cancel {
  width: 47px;
  height: 19px;

  font-family: "PT Sans";
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  line-height: 18px;
  color: var(--color-regent-gray);

  background-color: var(--color-white);
  border: none;
  cursor: pointer;
}

@media screen and (min-width: 768px) and (max-width: 1279px) {
  .main__container {
    width: 768px;
    margin-left: 0;
  }

  .container {
    border-radius: 0;
  }

  .form {
    margin: 20px auto 0 20px;
  }

  .delimetr__general {
    width: 768px;
    margin-top: 19px;
  }

  .delimetr__contacts,
  .delimetr__checkbox,
  .delimetr_button {
    width: 768px;
  }

  .title {
    margin-left: 20px;
  }
}

@media screen and (max-width: 767px) {
  .main__container {
    box-sizing: border-box;
    width: 375px;
    margin-left: 0;
  }

  .form {
    box-sizing: border-box;
    width: 375px;
    margin: 0;
    padding-left: 20px;
  }

  .h3__title {
    width: 315px;
    margin-top: -10px;
  }

  .inputs {
    width: 300px;
  }

  .inputs__box {
    width: 300px;
  }

  .delimetr__general {
    width: 375px;
    margin-left: -20px;
    margin-top: 10px;
  }

  .delimetr__contacts {
    width: 375px;
    margin-left: -20px;
    margin-top: 20px;
  }

  .delimetr__checkbox {
    width: 375px;
    margin-left: -20px;
    margin-top: 26px;
  }

  .delimetr_button {
    width: 375px;
    margin-left: -20px;
    margin-top: 10px;
  }

  .title {
    margin-left: 20px;
    font-size: 30px;
    line-height: 36px;
  }
}
